with ExecCommand is that the generated code may not be standard, as in IE, the text is bold with a B tag instead of a strong label.
Interaction issues
Users can not always enter in the editor, such as bold, insert pictures and other functions are operated through the button. Suppose the user wants to make a bold paragraph of the selected text, and when he presses the Bold button, the selection and focus will follow, so the selection (the selected t
fckeditor or editor
Find the two key files inside fckeditor_php4.php fckeditor_php5.php The code for these two files is not much different, obviously with the PHP version
Open these two files
xml/html Codefunction FCKeditor ($instanceName){$this->instancename = $instanceName;$this->basepath = './editor/'; Location of the file where the default
ArticleDirectory
1. FCKeditor
2. nicedit
3. tinymce
4. jwysiwyg
5. Yahoo! Ui Library: Rich Text Editor
6. xinha
7. openwysiwyg
8. Free Rich Text Editor
The web-based HTML editor, WYSIWYG WYG WYSIWYG WY. The following are some open
content that contains HTML and JavaScript, so you must set the validaterequest of the page using FCKeditor to False. (
1, download FCKeditor 2.4, it mainly includes core documents.
2, download FCKeditor 2.2. Net, including asp.net dll files, and extract to any directory.
3, decompression FCKeditor 2.4 Compression package, the folder FCKeditor copied to the root directory of the site, here to ASP.net 2.0
"
Ofckeditor.value = RS ("Logbody")
Ofckeditor.create "Logbody"
%>
Dim Ofckeditor
Set ofckeditor = New FCKeditor
Ofckeditor.basepath = "/"
Ofckeditor.toolbarset = "Default"
Ofckeditor.width = "100%"
Ofckeditor.height = "400"
Ofckeditor.value = RS ("Logbody")
Ofckeditor.create "Logbody"
%>
ASP version, of course, can only be used in an. asp for the extension of the page, if you have in the previous fckedito.asp set BaseP
For the Web page Editor to do the project is a very useful editor, greatly reduce the burden on developers, feel Kindsoft is a good choice, so also in constant use.
under the face of some simple configuration to sum up:
The first is to import the downloaded Kindsoft file into the project directory;
Copy Code c
=true/false whether debugging is turned on, so that when Fckdebug.output () is invoked, the contents are output in the debug window
When Enablesourcexhtml=true/false is true, HTML is processed as XHTML when switched from a visual interface to a code page
Enablexhtml=true/false whether to allow XHTML to be used instead of HTML
Fillemptyblocks=true/false uses th
= '/project/thinphp/vendor/fckeditor/';
If you set up a virtual host, the project becomes a virtual document root directory, through a domain name can directly access the Web site projects, then, at this time,
$this->basepath= '/thinphp/vendor/fckeditor/';
Other parameters such as width and height can be filled or not filled, if the words are the editor's default height and width. InstanceName is the ID and name of the tag where the
To the great God of Google worship a afternoon, finally let me find a free, made!! Although the appearance can not be compared with foreigners, but the function is quite full, practical good.Download Address: http://xheditor.com/
The webmaster has already configured the PHP version, puts out for everybody to download, eliminates everybody to configure the timeDownload Address: Http://xiazai.jb51.net/201106/yuanma/xheditor_php_jb51.rarWhen pressurized, put it in your
your page is other such as PHP to leave the corresponding PHP folder, analogy), delete all. And then into the filemanager/upload/, again, only the ASP folder, so that the editor's streamlining is over, next, we set the editor to modify.
The first modified file, the FCKeditor general configuration file, is located in the root directory of the Fckconfig.js file. Configuration options:
Autodetectlanguage=tr
To support both Firefox and IE, we often use the document.getElementById (ID) method to get the HTML object. However, the getElementById method can only get a single object, and there is nothing for a checkbox array.
1. Download the latest version of Xheditor. Download Address: Http://xheditor.com/download
2. Unzip the zip file and upload the Xheditor.js and Xheditor_emot and Xheditor_skin two folders to the appropriate directory on the site
3. Add
MoveToBookmark, and then bind the document of the IFRAME to Onbeforedeactivate (GetBookmark), OnActivate (MoveTo), the general meaning of these 2 events is that when activated and deactivated. After adding an event, you don't have to save the Lastrang or set up a bookmark anywhere else, so IE keeps the cursor position automatically like any other browser.
Copy Code code as follows:
if (Util.browser.msie) {
Util.bind (this. E.ifr_win.document, "Beforedeactivate", function () {
1, what is the HTML online editor
As the name suggests, an online editor is a tool for online editing, edited with HTML based documents.
What's the use of the 2,html online editor?
Because the
1. What is an HTML online editor?
As the name suggests, an online editor is a tool used for online editing. The edited content is HTML-based documents.
2. What is the use of the HTML online editor?
Because the
1. What is an HTML online editor?As the name suggests, an online editor is a tool used for online editing. The edited content is HTML-based documents.2. What is the use of the HTML online editor?Because the
Abbreviation: x = XHTML, t = customizable toolbar (custom toolbar), A = API available; √ = supported, x = not supported ,? = Not clear
Name
Authorization
X
T
A
Browser support
Aynhtml demo
GPL
X
√
√
Ie5.5 +
Bitflux editor demo
Apache Software License
√
√
X
Firefox1.0 +, mozilla1.3 +
Bpeditor
GPL
X
X
X
Ie5.5 +
web| Insert | online
Previously thought that the web's online editor is nothing more than the substitution of input content and the quick insertion of HTML code, but do find that although the principle is that, but the implementation method is not as rigid as I think. Because it's very rare to do something on the UI, it's only now known that there are execcommand
Create a WEB online editor-insert HTML tags before you think that the WEB online editor is nothing more than replacing the input content and quickly inserting HTML code, but when you do it, it is found that although the principle
In the past, I thought that the WEB online editor is nothing more than replacing the input content and inserting HTML code quickly. However, while doing so, I found that although the principle is the same, but the implementation method is not as rigid as I thought. Since there are few things on the UI, it is only now known that the execCommand method in document
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.